//
//  MBProgressHUD+SC.h
//  SmoCash
//
//  Created by mac on 2025/5/8.
//

#import <MBProgressHUD/MBProgressHUD.h>

NS_ASSUME_NONNULL_BEGIN

@interface MBProgressHUD (SC)
+ (void)showCustomIcon:(NSString *)iconName Title:(NSString *)title ToView:(UIView *)view;


+ (void)showSuccess:(NSString *)success ToView:(UIView *)view;


+ (void)showError:(NSString *)error ToView:(UIView *)view;


+ (MBProgressHUD *)showMessage:(NSString *)message ToView:(UIView *)view;

+ (MBProgressHUD *)showMessage:(NSString *)message ToView:(UIView *)view Tag:(int)tag;


+ (void)showAutoMessage:(NSString *)message;


+ (void)showAutoMessage:(NSString *)message ToView:(UIView *)view;


+(void)showIconMessage:(NSString *)message ToView:(UIView *)view RemainTime:(CGFloat)time;


+(void)showMessage:(NSString *)message ToView:(UIView *)view RemainTime:(CGFloat)time;


+ (void)showLoadToView:(UIView *)view;


+ (MBProgressHUD *)showProgressToView:(UIView *)view ProgressModel:(MBProgressHUDMode)model Text:(NSString *)text;


+ (void)hideHUDForView:(UIView *)view;


+ (void)hideHUD;

+ (void)hideHUDForView:(UIView *)view Tag:(int)tag;

@end

NS_ASSUME_NONNULL_END
